package com.my.demoo2.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "用户",description = "用户表的实体类")
public class UserInfo {
    @ApiModelProperty(value = "用户id",name="id",dataType = "Long",example = "3")
    private Long id;
    @ApiModelProperty(value = "用户名",name="userName",dataType = "String",example = "李明")
    private String userName;
    private String userCode;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }
}
